<%@ Page Language="C#" MasterPageFile="~/TunkiFiles/Principal.master" AutoEventWireup="true" CodeFile="PlanificacionAcademias.aspx.cs" Inherits="Inicio" Title="Untitled Page" %>
<%@ Register assembly="System.Web.DynamicData, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.DynamicData" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    
    <table style="width:100%;">
        <tr>
            <td style="width: 24px; height: 17px;">
                </td>
            <td style="height: 17px; width: 333px">
                <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="0" BackColor="#E6E2D8" 
                    BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" 
                    Font-Names="Verdana" Font-Size="0.8em" Height="200px" 
                     Width="850px" onnextbuttonclick="Wizard1_NextButtonClick" 
                    
                    FinishCompleteButtonText="Fin" FinishPreviousButtonText="Anterior" 
                    StartNextButtonText="Siguiente" StepNextButtonText="Siguiente" 
                    StepPreviousButtonText="Anterior" HeaderText="Planificar Academias" 
                    >
                    <HeaderStyle BackColor="#666666" BorderColor="#E6E2D8" BorderStyle="Solid" 
                        BorderWidth="2px" Font-Bold="True" Font-Size="Medium" ForeColor="White" 
                        HorizontalAlign="Center" />
                    <NavigationButtonStyle BackColor="White" BorderColor="#C5BBAF" 
                        BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" 
                        ForeColor="#1C5E55" />
                    <SideBarButtonStyle ForeColor="White" BorderStyle="None" />
                    <SideBarStyle BackColor="#1C5E55" Font-Size="0.9em" VerticalAlign="Top" />
                    <StepStyle BackColor="#F7F6F3" BorderColor="#E6E2D8" BorderStyle="Solid" 
                        BorderWidth="2px" />
                    <WizardSteps>
                        <asp:WizardStep runat="server" title="Escoger Academias" ID="Step1">
                            <table style="width:100%;">
                                <tr>
                                    <td style="width: 23px">
                                        &nbsp;</td>
                                    <td style="width: 198px; font-size: medium;">
                                        <b>Escoger Academias</b></td>
                                    <td style="width: 332px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 23px">
                                        &nbsp;</td>
                                    <td style="width: 198px; font-size: medium;">
                                        &nbsp;</td>
                                    <td style="width: 332px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="height: 17px; width: 23px">
                                    </td>
                                    <td style="height: 17px; width: 198px">
                                        <asp:CheckBoxList ID="chkAcademias" runat="server" 
                                            DataSourceID="AcademiaDataSource" DataTextField="Des_Academia" 
                                            DataValueField="Cod_Academia" OnDataBound="chkAcademias_DataBound">
                                        </asp:CheckBoxList>
                                    </td>
                                    <td style="height: 17px; width: 332px;">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 23px">
                                        &nbsp;</td>
                                    <td style="width: 198px">
                                        &nbsp;</td>
                                    <td style="width: 332px">
                                        <asp:ObjectDataSource ID="AcademiaDataSource" runat="server" 
                                            SelectMethod="obtenerAcademiasActivas" 
                                            TypeName="BOAcademias.BOPlanificarAcademia"></asp:ObjectDataSource>
                                    </td>
                                </tr>
                            </table>
                        </asp:WizardStep>
                        <asp:WizardStep runat="server" title="Crear Secciones" ID="Step2">
                            <table style="width:100%;">
                                <tr>
                                    <td style="width: 7px">
                                        &nbsp;</td>
                                    <td style="width: 521px; font-size: medium;" colspan="2">
                                        <b>Crear Secciones</b></td>
                                    <td style="width: 104px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 7px">
                                        &nbsp;</td>
                                    <td style="width: 521px" colspan="2">
                                        <b style="font-size: small">Academias</b></td>
                                    <td style="width: 104px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 7px">
                                        &nbsp;</td>
                                    <td style="width: 521px" colspan="2">
                                        <asp:GridView ID="AcademiaGridView" runat="server" AutoGenerateColumns="False" 
                                            BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" 
                                            CellPadding="4" DataSourceID="PlanificacionAcademiaDataSource" 
                                            GridLines="Horizontal" 
                                            OnSelectedIndexChanged="AcademiaGridView_SelectedIndexChanged">
                                            <Columns>
                                                <asp:BoundField DataField="Cod_Academia" HeaderText="Codigo Plan" 
                                                    SortExpression="Cod_Academia" />
                                                <asp:BoundField DataField="Des_Academia" HeaderText="Des_Academia" 
                                                    SortExpression="Descripcion" />
                                                <asp:CommandField ButtonType="Button" HeaderText="Seleccionar" 
                                                    SelectText="Seleccionar" ShowSelectButton="True" />
                                            </Columns>
                                            <FooterStyle BackColor="White" ForeColor="#333333" />
                                            <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
                                            <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
                                            <RowStyle BackColor="White" ForeColor="#333333" />
                                            <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
                                        </asp:GridView>
                                        <asp:ObjectDataSource ID="PlanificacionAcademiaDataSource" runat="server" 
                                            SelectMethod="obtenerAcademiasHabiles" 
                                            TypeName="BOAcademias.BOPlanificarAcademia"></asp:ObjectDataSource>
                                    </td>
                                    <td style="width: 104px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 7px">
                                        &nbsp;</td>
                                    <td style="width: 521px" colspan="2">
                                        &nbsp;</td>
                                    <td style="width: 104px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 7px">
                                        &nbsp;</td>
                                    <td style="width: 96px">
                                        <b style="font-size: small">Secciones</b></td>
                                    <td style="width: 521px">
                                        <asp:Button ID="btnNuevaSeccion" runat="server" OnClick="btnNuevaSeccion_Click" 
                                            Text="Nueva Seccion" Visible="False" />
                                    </td>
                                    <td style="width: 104px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 7px">
                                        &nbsp;</td>
                                    <td style="width: 521px" colspan="2">
                                        <asp:Panel ID="Panel1" runat="server" BorderColor="#009900" BorderStyle="Solid" 
                                            BorderWidth="5px" Visible="false" Width="664px">
                                            <table style="width:99%;">
                                                <tr>
                                                    <td style="width: 99px">
                                                        <asp:Label ID="Label1" runat="server" 
                                                            style="font-weight: 700; font-size: small"></asp:Label>
                                                    </td>
                                                    <td style="width: 268px">
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        &nbsp;</td>
                                                    <td style="width: 268px">
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        <asp:Label ID="Label2" runat="server" Text="Codigo"></asp:Label>
                                                    </td>
                                                    <td style="width: 268px">
                                                        <asp:Label ID="lblCodigo" runat="server"></asp:Label>
                                                    </td>
                                                    <td>
                                                        <asp:Button ID="btnInsertar" runat="server" Text="Insertar" 
                                                            OnClick="btnInsertar_Click" />
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        &nbsp;</td>
                                                    <td style="width: 268px">
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        <asp:Label ID="Label3" runat="server" Text="Descripcion"></asp:Label>
                                                    </td>
                                                    <td style="width: 268px">
                                                        <asp:TextBox ID="txtDescripcion" runat="server" Width="195px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                            ControlToValidate="txtDescripcion" 
                                                            ErrorMessage="Campo Obligatorio"></asp:RequiredFieldValidator>
                                                    </td>
                                                    <td>
                                                        <asp:Button ID="btnModificar" runat="server" OnClick="Button2_Click" 
                                                            Text="Modificar" />
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        &nbsp;</td>
                                                    <td style="width: 268px">
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        <asp:Label ID="Label4" runat="server" Text="Capacidad Max"></asp:Label>
                                                    </td>
                                                    <td style="width: 268px">
                                                        <asp:TextBox ID="txtCapacidadMaxima" runat="server" Width="195px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                            ControlToValidate="txtCapacidadMaxima" 
                                                            ErrorMessage="Campo Obligatorio"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                            ControlToValidate="txtCapacidadMaxima" 
                                                            ErrorMessage="Solo numeros" 
                                                            ValidationExpression="^[0-9]*[1-9]+$|^[1-9]+[0-9]*$"></asp:RegularExpressionValidator>
                                                    </td>
                                                    <td>
                                                        <asp:Button ID="btnCancelar" runat="server" OnClick="btnCancelar_Click" 
                                                            Text="Cancelar" CausesValidation="False" />
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        &nbsp;</td>
                                                    <td style="width: 268px">
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        <asp:Label ID="Label5" runat="server" Text="Capacidad Min"></asp:Label>
                                                    </td>
                                                    <td style="width: 268px">
                                                        <asp:TextBox ID="txtCapacidadMinima" runat="server" Width="195px"></asp:TextBox>
                                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                                                            ControlToValidate="txtCapacidadMinima" 
                                                            ErrorMessage="CampoObligatorio"></asp:RequiredFieldValidator>
                                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                                            ControlToValidate="txtCapacidadMinima" 
                                                            ErrorMessage="Solo Numeros" 
                                                            ValidationExpression="^[0-9]*[1-9]+$|^[1-9]+[0-9]*$"></asp:RegularExpressionValidator>
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        &nbsp;</td>
                                                    <td style="width: 268px">
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        <asp:Label ID="Label6" runat="server" Text="Instructor"></asp:Label>
                                                    </td>
                                                    <td style="width: 268px">
                                                        <asp:DropDownList ID="cmbInstructor" runat="server" 
                                                            DataSourceID="InstructorDataSource" DataTextField="NombreCompleto" 
                                                            DataValueField="Codigo">
                                                        </asp:DropDownList>
                                                        <asp:ObjectDataSource ID="InstructorDataSource" runat="server" 
                                                            SelectMethod="obtenerInstructore" TypeName="BOAcademias.BOPlanificarAcademia">
                                                        </asp:ObjectDataSource>
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        &nbsp;</td>
                                                    <td style="width: 268px">
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        <asp:Label ID="Label7" runat="server" Text="Estado"></asp:Label>
                                                    </td>
                                                    <td style="width: 268px">
                                                        <asp:DropDownList ID="cmbEstado" runat="server">
                                                            <asp:ListItem>ACTIVO</asp:ListItem>
                                                            <asp:ListItem>INACTIVO</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        &nbsp;</td>
                                                    <td style="width: 268px">
                                                        
                                                        
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px" colspan="3">
                                                        <asp:Panel ID="Panel2" runat="server">
                                                        
                                                        <table width="99%">
                                                        <tr>
                                                    <td style="width: 99px">
                                                        <asp:Label ID="lblInfra" runat="server" Text="Infraestructura"></asp:Label>
                                                    </td>
                                                    <td style="width: 268px">
                                                        <asp:DropDownList ID="cmbInfra" runat="server" Visible="False" 
                                                            OnSelectedIndexChanged="cmbInfra_SelectedIndexChanged" AutoPostBack="True">
                                                            <asp:ListItem Value="IF001">CANCHA DE CESPED</asp:ListItem>
                                                            <asp:ListItem Value="IF002">GIMNASIO</asp:ListItem>
                                                            <asp:ListItem Value="IF003">PISCINA</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        <asp:Label ID="Label8" runat="server" Text="Horarios"></asp:Label>
                                                    </td>
                                                    <td colspan="2" rowspan="4">
                                                         
                                                        <table style="width:100%;">
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    &nbsp;</td>
                                                                <td style="background-color: #CCFF99; width: 69px;">
                                                                    Lunes</td>
                                                                <td style="background-color: #CCFF99">
                                                                    Martes</td>
                                                                <td style="background-color: #CCFF99">
                                                                    Miercoles</td>
                                                                <td style="background-color: #CCFF99">
                                                                    Jueves</td>
                                                                <td style="background-color: #CCFF99">
                                                                    Viernes</td>
                                                                <td style="background-color: #CCFF99">
                                                                    Sabado</td>
                                                                <td style="background-color: #CCFF99">
                                                                    Domingo</td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    09:00</td>
                                                                <td style="width: 69px">
                                                                    <asp:Button ID="btn009" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn109" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn209" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn309" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn409" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn509" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn609" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    10:00</td>
                                                                <td style="width: 69px">
                                                                    <asp:Button ID="btn010" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn110" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn210" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn310" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn410" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn510" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn610" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    11:00</td>
                                                                <td style="width: 69px">
                                                                    <asp:Button ID="btn011" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn111" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn211" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn311" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn411" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn511" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn611" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    12:00</td>
                                                                <td style="width: 69px">
                                                                    <asp:Button ID="btn012" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn112" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn212" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn312" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn412" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn512" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn612" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    13:00</td>
                                                                 <td style="width: 69px">
                                                                    <asp:Button ID="btn013" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn113" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn213" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn313" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn413" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn513" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn613" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    14:00</td>
                                                                 <td style="width: 69px">
                                                                    <asp:Button ID="btn014" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn114" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn214" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn314" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn414" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn514" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn614" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    15:00</td>
                                                                 <td style="width: 69px">
                                                                    <asp:Button ID="btn015" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn115" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn215" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn315" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn415" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn515" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn615" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    16:00</td>
                                                                 <td style="width: 69px">
                                                                    <asp:Button ID="btn016" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn116" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn216" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn316" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn416" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn516" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn616" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    17:00</td>
                                                                 <td style="width: 69px">
                                                                    <asp:Button ID="btn017" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn117" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn217" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn317" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn417" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn517" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn617" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    18:00</td>
                                                                 <td style="width: 69px">
                                                                    <asp:Button ID="btn018" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn118" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn218" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn318" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn418" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn518" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn618" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    19:00</td>
                                                                 <td style="width: 69px">
                                                                    <asp:Button ID="btn019" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn119" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn219" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn319" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn419" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn519" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn619" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    20:00</td>
                                                                 <td style="width: 69px">
                                                                    <asp:Button ID="btn020" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn120" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn220" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn320" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn420" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn520" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn620" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                            </tr>
                                                            <tr>
                                                                <td style="color: #000000; width: 36px; background-color: #CCFF99">
                                                                    21:00</td>
                                                                 <td style="width: 69px">
                                                                    <asp:Button ID="btn021" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False"  /></td>
                                                                <td>
                                                                    <asp:Button ID="btn121" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn221" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn321" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn421" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn521" runat="server" Text="" OnClick="Button1_Click1" Width="60" Enabled="False" /></td>
                                                                <td>
                                                                    <asp:Button ID="btn621" runat="server" Text="" OnClick="Button1_Click1"  
                                                                        Width="60" Enabled="False"  /></td>
                                                            </tr>
                                                        </table>
                                                      
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px">
                                                        <asp:Button ID="btnModHor" runat="server" Text="Modificar" 
                                                            OnClick="btnModHor_Click" />
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td style="width: 99px; height: 7px;">
                                                        <asp:Button ID="btnGuarHor" runat="server" Text="Guardar" Visible="False" 
                                                            OnClick="btnGuarHor_Click" />
                                                        </td>
                                                    <td style="height: 7px">
                                                        </td>
                                                </tr>
                                                        
                                                        </table>
                                                        </asp:Panel>
                                                    </td>
                                                </tr>
                                                
                                                <tr>
                                                    <td style="width: 99px; height: 3px;">
                                                        </td>
                                                    <td style="height: 3px">
                                                        </td>
                                                </tr>
                                            </table>
                                        </asp:Panel>
                                    </td>
                                    <td style="width: 104px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 7px">
                                        &nbsp;</td>
                                    <td colspan="2" style="width: 521px">
                                        &nbsp;</td>
                                    <td style="width: 104px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 7px">
                                        &nbsp;</td>
                                    <td style="width: 521px" colspan="2">
                                        <asp:GridView ID="SeccionesGridView" runat="server" AutoGenerateColumns="False" 
                                            BackColor="White" BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" 
                                            CellPadding="4" DataSourceID="SeccionesDataSource" GridLines="Horizontal" 
                                            OnSelectedIndexChanged="SeccionesGridView_SelectedIndexChanged">
                                            <Columns>
                                                <asp:BoundField DataField="Cod_seccion" HeaderText="Codigo" 
                                                    SortExpression="Cod_seccion" />
                                                <asp:BoundField DataField="Des_seccion" HeaderText="Descripcion" 
                                                    SortExpression="Des_seccion" />
                                                <asp:BoundField DataField="Cap_maxima" HeaderText="Capacidad Maxima" 
                                                    SortExpression="Cap_maxima" />
                                                <asp:BoundField DataField="Cap_minima" HeaderText="Capacidad Minima" 
                                                    SortExpression="Cap_minima" />
                                                <asp:BoundField DataField="Cod_instructor" HeaderText="Instructor" 
                                                    SortExpression="Cod_instructor" />
                                                <asp:BoundField DataField="Estado" HeaderText="Estado" 
                                                    SortExpression="Estado" />
                                                <asp:CommandField ButtonType="Button" HeaderText="Seleccionar" 
                                                    SelectText="Modificar" ShowSelectButton="True" />
                                            </Columns>
                                            <FooterStyle BackColor="White" ForeColor="#333333" />
                                            <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
                                            <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
                                            <RowStyle BackColor="White" ForeColor="#333333" />
                                            <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
                                        </asp:GridView>
                                        <asp:ObjectDataSource ID="SeccionesDataSource" runat="server" 
                                            SelectMethod="obtenerSecciones" TypeName="BOAcademias.BOPlanificarAcademia">
                                            <SelectParameters>
                                                <asp:SessionParameter Name="codigoPlanificacion" 
                                                    SessionField="codPlanificacion" Type="String" />
                                            </SelectParameters>
                                        </asp:ObjectDataSource>
                                    </td>
                                    <td style="width: 104px">
                                        &nbsp;</td>
                                </tr>
                            </table>
                        </asp:WizardStep>
                        <asp:WizardStep ID="FinalStep" runat="server" Title="Final">
                            <table style="width:100%;">
                                <tr>
                                    <td style="width: 23px">
                                        &nbsp;</td>
                                    <td style="width: 198px">
                                        &nbsp;</td>
                                    <td style="width: 332px">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="height: 17px; width: 23px">
                                    </td>
                                    <td style="height: 17px; width: 198px">
                                        &nbsp;</td>
                                    <td style="height: 17px; width: 332px;">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td style="width: 23px">
                                        &nbsp;</td>
                                    <td style="width: 198px">
                                        &nbsp;</td>
                                    <td style="width: 332px">
                                        &nbsp;</td>
                                </tr>
                            </table>
                        </asp:WizardStep>
                    </WizardSteps>
                </asp:Wizard>
            </td>
        </tr>
        <tr>
            <td style="width: 24px">
                &nbsp;</td>
            <td style="width: 333px">
                &nbsp;</td>
        </tr>
    </table>
<br />
<br />
<br style="text-align: left" />
<br />
<br />
<br />
&nbsp; 
</asp:Content>

